#include "nettype.h"
#include "packet.h"
#include <list>

class Queue {
	std::list<std::pair<counter_t, Packet*> data;
public:
	Queue();
	void enqueue(counter_t _seq, Packet* p);
	pair<counter_t, Packet*> getNext();
	void dequeue(counter_t _seq);
};